﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Wix.Aura.Common;
using Wix.Aura.Common.CustomTypes;

namespace Wix.Aura.UnitTests.Common {
	[TestFixture]
	public class ClassFileTypeMaskSerialization : ClassChildren {
		[Test]
		public void FileTypeMaskSerialization() {
			string expected = @"<FileTypeMask Mask=""00"" Offset=""2"" Value=""AA"" />";
			expected = string.Format(baseXml, expected);

			FileTypeMask mask = new FileTypeMask(new HexType("00"), 2, new HexType("AA"));
			cl.FileTypeMask.Add(mask);
			Assertion(expected, project);
		}
	}
}
